<div class="type-list" id="sele_ctype" style="display:none;">
<style>
.before-change input{
	width: 100%;
    padding: 0.1rem;
    height: 0.8rem;
    border-radius: 2px;
    border: 1px solid #ebebeb;
}
</style>
	<form name="dataForm">
    <article class="service-select">
        <h3>选择企业变更的事项</h3>
        <p><i class="iconfont icon-gantanhao"></i>变更选项可单选、多选或全选。</p>
        <div class="service clearfix">
            <div class="change-address">
                <div>
                    <span>注册地址变更</span>
                    <input value="注册地址变更" name="actchange[]" type="checkbox" onclick="$(this).prop('checked')?$('*[name=chg_address]').show():$('*[name=chg_address]').hide()"/>
                    <img class="none" src="__PUBLIC__/home/images/selected.png">
                </div>
            </div>
            <div class="change-address">
                <div>
                    <span>经营范围变更</span>
                    <input value=""经营范围变更 name="actchange[]" type="checkbox" onclick="$(this).prop('checked')?$('*[name=chg_sale_range]').show():$('*[name=chg_sale_range]').hide()"/>
                    <img class="none" src="__PUBLIC__/home/images/selected.png">
                </div>
            </div>
            <div class="change-address">
                <div>
                    <span>经营期限变更</span>
                    <input value="经营期限变更" name="actchange[]" type="checkbox" onclick="$(this).prop('checked')?$('*[name=chg_date_range]').show():$('*[name=chg_date_range]').hide()"/>
                    <img class="none" src="__PUBLIC__/home/images/selected.png">
                </div>
            </div>
            <div class="change-address">
                <div>
                    <span>注册资本变更</span>
                    <input value="注册资本变更" name="actchange[]" type="checkbox" onclick="$(this).prop('checked')?$('*[name=chg_money]').show():$('*[name=chg_money]').hide()"/>
                    <img class="none" src="__PUBLIC__/home/images/selected.png">
                </div>
            </div>
            <div class="change-address">
                <div>
                    <span>出资期限变更</span>
                    <input value="出资期限变更" name="actchange[]" type="checkbox" onclick="$(this).prop('checked')?$('*[name=chg_money_date]').show():$('*[name=chg_money_date]').hide()"/>
                    <img class="none" src="__PUBLIC__/home/images/selected.png">
                </div>
            </div>
            <div class="change-address">
                <div>
                    <span>法定代表人、监事、经理变更</span>
                    <input value="法定代表人、监事、经理变更" name="actchange[]" type="checkbox" onclick="$(this).prop('checked')?$('*[name=chg_post]').show():$('*[name=chg_post]').hide()"/>
                    <img class="none" src="__PUBLIC__/home/images/selected.png">
                </div>
            </div>
            <div class="change-address" id="chgtotal">
                <div>
                    <span>投资总额变更</span>
                    <input value="投资总额变更" name="actchange[]" type="checkbox" onclick="$(this).prop('checked')?$('*[name=chg_total_money]').show():$('*[name=chg_total_money]').hide()"/>
                    <img class="none" src="__PUBLIC__/home/images/selected.png">
                </div>
            </div>
        </div>
    </article>
    <article name="chg_address" style="display:none;" class="register-address">
        <h3>注册地址变更</h3>
        <div class="before-change">
            <h4>变更前地址：</h4>
            <textarea name="bchangaddr" placeholder="请输入地址"></textarea>
        </div>
        <section class="flex-justify">
            <span>注册地址类型</span>
            <select name="selectaddr">
                <option value="3">自有地址</option>
                <option value="1">提供地址</option>
            </select>
        </section>
        <div class="after-change">
            <h4>变更后地址：</h4>
            <p>中国(上海)自由贸易试验区富特北路211号302部位368室自由贸易试验区富特北路211号302部位368室</p>
        </div>
    </article>
    <article name="chg_sale_range" style="display:none;" class="register-address">
       <h3>经营范围变更</h3>
       <div class="before-change">
           <h4>变更前经营范围：</h4>
           <textarea name="bchangscope" placeholder="请输入内容"></textarea>
       </div>
       <div class="before-change">
           <h4>变更后经营范围：</h4>
           <textarea name="echangscope" placeholder="请输入内容"></textarea>
       </div>
    </article>
    <article name="chg_date_range" style="display:none;" class="register-address">
       <h3>经营期限变更</h3>
       <div class="before-change">
           <h4>经营期限变更：</h4>
           <input name="changetime" placeholder="" value="30年" readonly/>
       </div>
    </article>
    <article name="chg_money" style="display:none;" class="register-address">
       <h3>注册资本变更</h3>
       <div class="before-change">
           <h4>变更前注册资本：</h4>
           <input name="bchangmon" placeholder="请输入内容" value="" />
       </div>
       <div class="before-change">
           <h4>变更后注册资本：</h4>
           <input name="echangmon" placeholder="请输入内容" value=""/>
       </div>
    </article>
    <article name="chg_money_date" style="display:none;" class="register-address">
       <h3>出资期限变更</h3>
       <div class="before-change">
           <h4>自营业执照签发之日起
           <input name="eclearmon" style="width:30%;" value="" />
           年内缴清
 		   </h4>
       </div>
    </article>
    <article class="register-address" style="display:none;" name="chg_post">
       <h3>法定代表人、监视、经理等变更</h3>
       <div class="before-change">
           <h4>变更前姓名：</h4>
           <input name="bchangname" placeholder="请输入内容" value="" />
       </div>
       <div class="before-change">
           <h4>变更后姓名：</h4>
           <input name="echangname" placeholder="请输入内容" value=""/>
       </div>
       <div class="before-change">
           <h4>变更前职位：</h4>
           <input name="bchangpost" placeholder="请输入内容" value=""/>
       </div>
       <div class="before-change">
           <h4>变更后职位：</h4>
           <input name="echangpost" placeholder="请输入内容" value=""/>
       </div>
       <div class="before-change identity-upload clearfix">
       	   <h4>身份证证明：</h4>
           <div style="background:url(__PUBLIC__/home/images/upload-positive.png) no-repeat center;background-size:contain;">
               <input type="file" id="bchangimg" name="up_pic" onchange="uploadImg(this,upload_img_back)"/>
               <input type="hidden" name="bchangimg[]" value=""/>
           </div>
           <div style="background:url(__PUBLIC__/home/images/upload-other-side.png) no-repeat center;background-size:contain;margin-left:0.1rem">
               <input type="file" id="echangimg" name="up_pic" onchange="uploadImg(this,upload_img_back)"/>
               <input type="hidden" name="echangimg[]" value=""/>
           </div>
       </div>
    </article>
    <article name="chg_total_money" style="display:none;" class="register-address">
       <h3>投资总额变更</h3>
       <div class="before-change">
           <h4>变更前投资总额：</h4>
           <input name="bchangallmon" placeholder="请输入内容" value="" />
       </div>
       <div class="before-change">
           <h4>变更后投资总额：</h4>
           <input name="echangallmon" placeholder="请输入内容" value=""/>
       </div>
    </article>
    <a href="javascript:void(0)" onclick="saveOptions(this)" class="next">下一步</a>
    </form>
<script>
function saveOptions(obj){
	$.post(
		"{:U('saveGuideData')}",
		$(obj).parents('form[name=dataForm]').serializeArray(),
		function(data){
			
		}
	)
	nextPage();
}
function upload_img_back(data,id){
	if(data.status == '1'){
		$('#'+id).next('input').val(data.info)
		$('#'+id).parent().css({'background':'url('+data.info+') no-repeat center'});
	}else{
		layer.msg(data.info);
	}
}
</script>
</div>


